﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace jqGrid.Models
{
    [ModelBinder(typeof(ProductViewModelBinder))]
    public class ProductViewModel
    {
        #region Properties
        public int? ProductID { get; set; }

        public string ProductName { get; set; }

        public int SupplierID { get; set; }

        public int CategoryID { get; set; }

        public string QuantityPerUnit { get; set; }
        
        public decimal UnitPrice { get; set; }

        public short UnitsInStock { get; set; }
        #endregion
    }
}